<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link href="css/style.css" rel="stylesheet" type="text/css" /> 
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Menu Principal</title>
<%
   String us = (String) session.getAttribute("usuario");
	if(us==null){%>
		<META HTTP-EQUIV="Refresh" CONTENT="1; URL=./login.jsp">
	<%}%>
</head>
<body>
<div style="float: right; margin: 50px 50px 0 0; a:link color:#FF0000;">
	<%
   if (us == null) {
	%>
<a href="Controller?pg=IS" style="text-decoration: none; color: blue"> Debe Iniciar Sesion</a>
<%
   } else {
%>
<a href="Controller?pg=CS" style="text-decoration: none; color: blue"><%=us != null ? us : ""%> Cerrar Sesion </a>

<%} %>
</div>
<div id="logo"></div>
	<div id="title-pag">
		<h1><strong>Menu...</strong></h1>
	</div>
	<div id="wrapper">
		<div id="Main-menu">
				<p><a href="Controller?pg=T">Administracion de Terminales</a></p>
				<p><a href="Controller?pg=U">Administracion de Usuarios</a></p>
				<p><a href="./reportes/Informes.jsp">Informes</a></p>
			
		</div>
	</div>
</body>
</html>